/** \file PlayingEffect.h
    \author belot.nicolas
    Interface for Effects like Vibrato or Bend...*/

#ifndef PLAYINGEFFECT_H
#define PLAYINGEFFECT_H 1

#include "Buffer.h"
#include "Sample.h"
#include "DynArray"

namespace libtrckr {

class PlayingEffect {
/** \class libtrckr::PlayingEffect
\brief Interface for effects executed while playing an instrument. different of a filter!
*/
	public:
	virtual ~PlayingEffect();
	///tune the effect
	virtual void Tune(DynArray<double>)=0;
	///apply the effect
	virtual Buffer& apply(Buffer&,int*)=0;
};


}

#endif

